package com.jctrip.hotel.route.model.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "获取订单信息接口-返回值")
@Data
@Builder
public class GetOrderInfoResult {

    @ApiModelProperty(value = "渠道订单号")
    private String routeOrderId;

    @ApiModelProperty(value = "系统订单号")
    private String orderId;

    @ApiModelProperty(value = "酒店唯一编号")
    private String hotelId;

    @ApiModelProperty(value = "酒店名称")
    private String hotelName;

    @ApiModelProperty(value = "房型编号")
    private String roomTypeCode;

    @ApiModelProperty(value = "房型名称")
    private String roomTypeName;

    @ApiModelProperty(value = "系统订单状态(0-待确认；1-预定成功；2-已取消；3-预定未到；4-已入住；5-已离店；6-预定失败)")
    private Integer orderStatus;

    @ApiModelProperty(value = "入住日期(yyyy-MM-dd)")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date arriveDate;

    @ApiModelProperty(value = "退房日期(yyyy-MM-dd)")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date departDate;

    @ApiModelProperty(value = "早餐数量")
    private Integer breakfastCount;

    @ApiModelProperty(value = "入住间数")
    private Integer roomCount;

    @ApiModelProperty(value = "联系人")
    private String contactName;

    @ApiModelProperty(value = "入住人(多人，逗号分隔)")
    private String guestName;

    @ApiModelProperty(value = "订单备注")
    private String orderNotes;

    @ApiModelProperty(value = "订单创建时间(yyyy-MM-dd HH:mm:ss)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date orderCreateTime;
}
